//
//  HYCTourPalSecendPushTroller.m
//  FamilyTravel
//
//  Created by dllo on 15/10/31.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "HYCTourPalSecendPushTroller.h"
#import "HYCHeadDocument.h"


#define WIDTH self.view.frame.size.width
#define HEIGHT self.view.frame.size.height
@interface HYCTourPalSecendPushTroller ()
@property(nonatomic, retain) UILabel *label;
@property(nonatomic, retain) UIImageView *imageView;

@end

@implementation HYCTourPalSecendPushTroller
- (void)dealloc {
    [_imageView release];
    [_str release];
    
    [super dealloc];
    
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor blackColor];
    
    //    self.view.backgroundColor = [UIColor blackColor];
    
    self.imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0,HEIGHT / 5 , WIDTH, HEIGHT / 2)];
    [self.view addSubview:self.imageView];
    
    self.imageView.image = [UIImage imageNamed:self.pStr];
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:self.pStr]];
    
    
    
    self.label = [[UILabel alloc]initWithFrame:CGRectMake(0, HEIGHT / 2, WIDTH, HEIGHT / 3)];
    [self.view addSubview:self.label];
    self.label.numberOfLines = 0;
    //    self.label.backgroundColor = [UIColor redColor];
    self.label.textColor = [UIColor whiteColor];
    
    
    self.label.text = self.str;
    NSLog(@"%@", self.str);
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
